<?php
use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/emoticon',
    'namespace' => 'Frieza\\Modules\\Emoticon\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    $router->get('/list', 'EmoticonController@list');
    $router->get('/list/{id}/edit', 'EmoticonController@create');
    $router->get('/create', 'EmoticonController@create');
    $router->post('/save', 'EmoticonController@save');
});